import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
Vue.use(uView);
import store from './store'
//把vuex定义成全局组件
Vue.prototype.$store = store;
Vue.config.productionTip = false
App.mpType = 'app'
// import wudi from '@/compom/variable.js'
// Vue.prototype.wudi = wudi
Vue.prototype.now = function () {  
    return  5
}; 
// 网络请求
import {post, get, _delete, put} from '@/utils/request.js'
Vue.prototype.post = post
Vue.prototype.get = get
Vue.prototype._delete = _delete
Vue.prototype.put = put

const app = new Vue({
	store,
    ...App
})
app.$mount()
